
<html>
    <head>
        <title>Login Pegawai</title>
        <script type="text/javascript" src="<?php echo base_url('assets/js/jquery.min.js'); ?>"></script>
        <link href="http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700,300" rel="stylesheet" type="text/css">
        <link href="<?php echo base_url('assets/css/bootstrap.css'); ?>" rel="stylesheet" type="text/css" />
        <link href="<?php echo base_url('assets/css/jquery.akordeon.css'); ?>" rel="stylesheet" type="text/css" />
        <link href="<?php echo base_url('assets/css/demo.css'); ?>" rel="stylesheet" type="text/css" />
        <script src="<?php echo base_url('assets/js/bootstrap.min.js'); ?>" type="text/javascript"></script>
        <script src="<?php echo base_url('assets/js/jquery.akordeon.js'); ?>" type="text/javascript"></script>
        <script type="text/javascript">
            $(document).ready(function() {
                $('#buttons').akordeon();
                $('#button-less').akordeon({buttons: false, toggle: true, itemsOrder: [2, 0, 1]});
            });
        </script>
        <script language="JavaScript">
            var text = "Pengguna SIK Desa Gunungsari ";
            var speed = 700;
            var refresh = null;
            function move() {
                document.title = text;
                text = text.substring(1, text.length) + text.charAt(0);
                refresh = setTimeout("move()", speed);
            }
            move();
        </script>
    </head>
    <body>
        <form id="form1" name="form1" method="post" action="<?php echo base_url('login/proses'); ?>">
            <fieldset>
                <div id="demo-wrapper">
                    <div class="akordeon" id="buttons">
                        <div class="akordeon-item expanded">
                            <div class="akordeon-item-head">
                                <div class="akordeon-item-head-container">
                                    <div class="akordeon-heading">
                                        Ketikkan username anda :
                                    </div>
                                </div>
                            </div>
                            <div class="akordeon-item-body">
                                <div class="akordeon-item-content">
                                    <input type="text" name="user" class="input-large" placeholder="Username">
                                </div>
                            </div>
                        </div>
                        <div class="akordeon-item">
                            <div class="akordeon-item-head">
                                <div class="akordeon-item-head-container">
                                    <div class="akordeon-heading">
                                        Ketikkan password anda :
                                    </div>
                                </div>
                            </div>
                            <div class="akordeon-item-body">
                                <div class="akordeon-item-content">
                                    <input type="password" name="pass" class="input-large" placeholder="Password">
                                </div>
                            </div>
                        </div>

                    </div>
                    <button class="btn btn-large btn-block" id="submit" name="submit" type="submit">Masuk</button>
                    <button class="btn btn-large btn-block" id="reset" name="reset" type="reset">Bersihkan</button>
                    <div align="center">
                        <?php
//                        echo date("d-m-Y H:i:s");
//                        echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
//                        if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
//                            echo 'IP Anda : ', $_SERVER['HTTP_X_FORWARDED_FOR'], '<br>'; // Untuk melihat proxy pengunjung
//                        } else {
//                            echo 'IP Anda : ', $_SERVER['REMOTE_ADDR'], "<br>"; // untuk melihat IP pengunjung
//                        }
                        ;
                        ?>
                    </div>
                </div>
            </fieldset>
        </form>
        <h1><?php // echo $this->session->flashdata('message');  ?></h1>
    </body>
</html>